<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../css/hyzx.css" type="text/css" rel="stylesheet" />
<link rel="shortcut icon" href="images/favicon.ico" />
<script src="../js/jquery-1.5.1.min.js"></script>
<script language="javascript">
function clickUpdate(id){
	window.location=encodeURI("loadShxx.action?shxxid="+id);
}
function clickDel(shxxid){
    $.ajax({
	    url: "deleteShxx.action",
	    type: "post",
	    data: "shxxid="+shxxid,
	    datetype: "json",
	    success: function(date) {
	     }
	 });
    window.location.reload(); 
}
</script>
</head>
<body>
<div class="container"><!--全体-->
<jsp:include page="header.jsp" flush="true" />
   <div class="clearBox10px" style=" text-align:left;font-size:12px;">
   首页 > 会员中心  >  
   </div>
   <div class="clearclear"></div><!--清理一下垃圾-->
   <div class="main"><!--main--> 
	<jsp:include page="left.jsp" flush="true" />
   <div class="main_right">
     <div class="right_myorder"><span style="margin-left:20px;">我的订单</span></div>
          <div class="shdz">
          <ul>
          <s:iterator id="shxx" value="lstShxx" >
             <li>
            	<table width="100%">
                   <tbody>
                   	<tr><td width="20">收 货 人：</td><td><s:property value="#shxx.shrxm"/></td></tr>
                    <tr><td>地&nbsp;&nbsp;&nbsp;&nbsp;址：</td><td>﻿<s:property value="#shxx.shdz"/></td></tr>
                    <tr><td>手机号码：</td><td><s:property value="#shxx.sjhm"/></td></tr>
                    <tr><td>邮&nbsp;&nbsp;&nbsp;&nbsp;编：</td><td><s:property value="#shxx.yb"/></td></tr>
                   </tbody>
                </table>
                <div style="height:10px;"></div>
                  <table width="100%">
                   <tbody>
                   <tr>
                   <td  width="4%"><span style="background:#CCCCCC; width:100%; font-size:14px; font-weight:bold;">1</span></td>
                   <td width="49%"></td>
                   <td width="14%"><input  type="button" class="shdzxg_button" onclick="clickUpdate(<s:property value="#shxx.shxxid"/>)" value="修改"/></td>
                   <td width="14%"><input type="button" class="shdzsc_button"  onclick="clickDel(<s:property value="#shxx.shxxid"/>)" value="删除" /></td>
                   <td width="19%"></td>
                   </tr>
                   </tbody>
                </table>
            </li>
            </s:iterator>
          </ul>
          <div style="clear:both;"></div>
        <div style="text-align:left;"><a href="loadShxx.action" style="font-size:12px; text-decoration:none;" >添加新地址</a> </div> 
     </div>
   </div>
  </div><!--main end-->
  <div style="clear:both;"></div>
  <div class="footer"></div>
  </div>
</body>
</html>
